package com.sec.android.app.myfiles.util;

import android.os.storage.StorageVolume;

/**
 * StorageVolume wrapper class for test
 * StorageVolume is not matched with android standard
 */
public class StorageVolumeUtil {
    private interface SubSystem {
        String SD_CARD = "sd";
        String USB = "usb";
    }

    public static boolean isSdStorage(StorageVolume storageVolume) {
        //TODO HYL Storage
        return false;
        //String subSystem = storageVolume.semGetSubSystem();
        //return SubSystem.SD_CARD.equals(subSystem);
    }

    public static boolean isUsbStorage(StorageVolume storageVolume) {
        //TODO HYL Storage
        return false;
        //String subSystem = storageVolume.semGetSubSystem();
        //return SubSystem.USB.equals(subSystem);
    }

/*    public static boolean isMounted(StorageManager storageManager, StorageVolume storageVolume) {
        String volumeState = storageManager.getVolumeState(storageVolume.getPath());
        return Environment.MEDIA_MOUNTED.equals(volumeState);
    }*/
}
